#include <stdio.h>

void format(char* str,char** strr){
	int num,string=0;
	int* number;
	char* strc;
	int strNum = {0};
	for(,,){
		if(*str == '\0') break;
		if(*str > 47 && *str <59){
			num = num * 10 + (*str - '0');
			ps++;
		}
		else{
			*strr = str;
			break;
			strr++;
		}
	}
	return num;
	}

int main(){
	char* pstr="adas232";
	char* pres = NULL;
	int res = format(&pstr,&pres);
	printf("数字是%d字符串%s\n",res,pres);
	}
